/**
 * 
 */
package com.sxds.wn.dao.biz.impl;

import com.sxds.wn.bo.CateringTaxationBo;
import com.sxds.wn.bo.TaxpayerInfoBo;
import com.sxds.wn.dao.biz.CateringTaxationDao;
import com.sxds.wn.dao.ibatis.AbstractIbatisDao;
import com.sxds.wn.exception.DataAccessException;

/**
 * @author ibm
 *
 */
public class CateringTaxationDaoImpl extends AbstractIbatisDao implements CateringTaxationDao {

	/*
	 * (non-Javadoc)
	 * @see com.sxds.wn.dao.biz.CateringTaxationDao#insertCateringSet(com.sxds.wn.bo.CateringTaxationBo)
	 */
	public void insertCateringSetTax(CateringTaxationBo bo) throws DataAccessException {
		this.getSqlMapClientTemplate().insert("insertCateringSetTax",bo);
	}

	/*
	 * (non-Javadoc)
	 * @see com.sxds.wn.dao.biz.CateringTaxationDao#getTaxpayerInfo(java.lang.String)
	 */
	public TaxpayerInfoBo getTaxpayerInfo(String yaxpayerId)throws DataAccessException {
		return (TaxpayerInfoBo)this.getSqlMapClientTemplate().queryForObject("getTaxpayerInfo",yaxpayerId);
	}

}
